package com.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

@Data
public class Employee {

  private Integer id;
  private String empName;
  private String empSex;
  private Byte empAge;
  private String empPhoneNum;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp jionTime;
  private String empUserName;
  private String empPassword;
  private String doctorAdept;
  private String doctorIntroduce;
  private Integer officeId;
  private String empGrade;
  private Byte menuId;
  private String photo;
  private Byte status;
}
